package com.ego.user.service;

import com.ego.user.pojo.User;

public interface UserService {

    Boolean check(String data, Integer type);

    void register(User user, String code);

    void sendSms(String phone);

    User queryUser(String username, String password);

    String updatePassword(String oldPassword, String password);

    String findPhone();

    Boolean confirm(String code, String phone);

    Boolean updatePhone(String code, String phone);
}
